//
//  HEPickerView.h
//  HealthFamily
//
//  Created by LOOK on 2020/12/27.
//  Copyright © 2020 honglutec. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HEPickerResModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef void(^HEStringResultModelArrayBlock)(NSArray <HEPickerResModel *> * _Nullable resultModelArr);


@interface HEPickerView : UIView

/** 选择器标题 */
@property (nonatomic, copy) NSString *title;

/// 子标题
@property (nonatomic, strong) NSArray *subTitles;

/// 设置已选择的值
@property (nonatomic, strong) NSArray <NSString *>*selectValues;

/// 数据源
@property (nonatomic, strong) NSArray <NSArray *> *dataSource;

/** 选择结果的回调【多列】 */
@property (nullable, nonatomic, copy) HEStringResultModelArrayBlock resultModelArrayBlock;


- (void)show;

- (void)dismiss;

@end

NS_ASSUME_NONNULL_END
